<template>
	<view class="personal">
		<personal-info :pages="pages" ref="personal"></personal-info>
		<tab></tab>
	</view>
</template>

<script>
	import Tab from '../../components/Tab.vue';
	import PersonalInfo from '../../components/PersonalInfo.vue';

	export default {
		data() {
			return {
				pages: 'personal',
			}
		},
		components: {
			Tab,
			PersonalInfo,
		},
		onShow() {
			this.$refs.personal.getVideo();
			this.$refs.personal.getMaster();
			if(getApp().$uploadimg == true) {
				this.$refs.personal.getAvatar();
			}
			this.$refs.personal.getFollow();
		}
	}
</script>

<style lang="scss">
	.personal {
		width: 100%;
		height: calc(100% - 100px);
		color: #FFFFFF;
		background-color: #000000;
	}
</style>
